﻿@model PlmConstructionlogcivilViewModel
@{
    Layout = null;
    ViewBag.Title = "施工日志-土建查看";
    var remark = "";
}
<style>
    .table_biao {
        width: 100%;
        text-align: center;
    }

        .table_biao tr {
            height: 30px;
        }

    .table_rizhi {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
        border-left: 1px solid #C1DAD7;
    }

        .table_rizhi th {
            border-right: 1px solid #C1DAD7;
            border-bottom: 1px solid #C1DAD7;
            border-top: 1px solid #C1DAD7;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 1px 4px 1px 4px;
            line-height: 17px;
        }

        .table_rizhi td {
            border-right: 1px solid #C1DAD7;
            border-bottom: 1px solid #C1DAD7;
            background: #fff;
            text-align: left;
            padding: 1px 4px 1px 4px;
            line-height: 17px;
        }
</style>
<form method="post" action="demo/common/ajaxDone.html" class="pageForm required-validate" onsubmit="return validateCallback(this)">
    <div class="pageContent">
        <div class="pageFormContent sortDrag" layouth="60">
            <table class="table_biao">
                <tr>
                    <th colspan="3" style="font-weight: 600; font-size: 20px;">
                        @(Model.ReportTitle)进度情况日报表
                    </th>
                </tr>
                <tr>
                    <th>合同号：@Model.ReportContractNum   </th>
                    <th>单位：@Model.ReportUnitName</th>
                    <th>日期：@Model.ReportDate</th>
                </tr>
            </table>
            <table class="table_rizhi">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th colspan="2">工作内容</th>
                        @foreach (var item in Model.ReportSectionName.Split('$'))
                        {
                            <th>@item</th>
                        }
                        <th>备注</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td rowspan="3">1</td>
                        <td rowspan="3">人员进场情况</td>
                        <td>合同履约人员</td>
                        @foreach (var item in Model.Report_Clc_Contract.Split('$'))
                        {
                            <td>@item</td>
                        }
                        <td rowspan="20">
                            @{
                                foreach (var item in Model.Report_Clc_Remark.Split('$'))
                                {
                                    remark += item + "<br/>";
                                }
                            }
                            @Html.Raw(remark)
                        </td>
                    </tr>
                    <tr>
                        <td>技术人员</td>
                        @foreach (var item in Model.Report_Clc_Technicist.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>施工人员</td>
                        @foreach (var item in Model.Report_Clc_Constructors.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td rowspan="3">2</td>
                        <td rowspan="3">机械设备进场情</td>
                        <td>路基施工设备</td>
                        @foreach (var item in Model.Report_Clc_Subgrade.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>桥梁施工设备</td>
                        @foreach (var item in Model.Report_Clc_Bridge.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>隧道施工设备</td>
                        @foreach (var item in Model.Report_Clc_Tunnel.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td rowspan="2">3</td>
                        <td rowspan="2">材料</td>
                        <td>材料考查情况</td>
                        @foreach (var item in Model.Report_Clc_MaterialTest.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>材料进场情况</td>
                        @foreach (var item in Model.Report_Clc_MaterialsSite.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td rowspan="7">4</td>
                        <td rowspan="7">临建进展</td>
                        <td>拌合站建设情况</td>
                        @foreach (var item in Model.Report_Clc_MixingStation.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>钢筋加工厂建设情况</td>
                        @foreach (var item in Model.Report_Clc_Steel.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>梁场建设情况</td>
                        @foreach (var item in Model.Report_Clc_Beam.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>便道修筑情况</td>
                        @foreach (var item in Model.Report_Clc_Sidewalk.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>弃渣场</td>
                        @foreach (var item in Model.Report_Clc_Spoil.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>炸药库</td>
                        @foreach (var item in Model.Report_Clc_Explosive.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>临时用电和10kv电力线路</td>
                        @foreach (var item in Model.Report_Clc_Power.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td rowspan="3">5</td>
                        <td rowspan="3">技术准备</td>
                        <td>开工报告等资料的准备及批复情况</td>
                        @foreach (var item in Model.Report_Clc_Datum.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>配合比</td>
                        @foreach (var item in Model.Report_Clc_Proportion.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>扬尘治理措施</td>
                        @foreach (var item in Model.Report_Clc_Dust.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>6</td>
                        <td>存在问题</td>
                        <td>主要是当前急需建设单位配合解决的问题</td>
                        @foreach (var item in Model.Report_Clc_Problems.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>7</td>
                        <td colspan="2">下步计划</td>
                        @foreach (var item in Model.Report_Clc_Plan.Split('$'))
                        {
                            <td>@item</td>
                        }

                    </tr>
                    <tr>
                        <td>8</td>
                        <td colspan="2">驻地办监理评述</td>
                        @foreach (var item in Model.Report_Clc_StationComment.Split('$'))
                        {
                            <td>@item</td>
                        }
                        <td></td>
                    </tr>
                    <tr>
                        <td>9</td>
                        <td colspan="2">总监办监理评述及要求</td>
                        <td colspan="4">@Model.Report_Clc_DirectorComment.Replace('$', ' ')</td>
                    </tr>
                </tbody>
            </table>
            <dl class="nowrap" style="display:none">
                <dt>附件：</dt>
                <dd>
                    <table>
                        <tr style="height: 20px;">
                            <td style="color: #808080;">《附件1》</td>
                            <td><a href="#" title="点击下载" style="color: blue;">下载</a></td>
                        </tr>
                        <tr style="height: 20px;">
                            <td style="color: #808080;">《附件2》</td>
                            <td><a href="#" title="点击下载" style="color: blue;">下载</a></td>
                        </tr>
                        <tr style="height: 20px;">
                            <td style="color: #808080;">《附件3》</td>
                            <td><a href="#" title="点击下载" style="color: blue;">下载</a></td>
                        </tr>
                    </table>
                </dd>
            </dl>
        </div>
    </div>
</form>
